package com.andy.buyu.server.dto;

import io.netty.buffer.ByteBuf;

/**
 * 预进入游戏110
 * @author cuiwm
 */
public class EnterRoomMessage extends BaseMessage{
	
	private int desk;
    private int index;
    
    public EnterRoomMessage(int desk, int index) {
    	this.desk = desk;
    	this.index = index;
	}

	@Override
	public void writeBody(ByteBuf buf) {
		buf.writeInt(desk);
		buf.writeByte(index);
	}


}